
import {request} from '../request.js' //导入封装好的js文件
 
//查看已生成的优惠券
export const get_show_coupon = (data)=>{
  return request({
    url:`/get_show_coupon/`,
    method:'get',
    data:data
  })
}
//查看试用钓场
export const get_site = (data)=>{
  return request({
    url:`/get_post_coupon/`,
    method:'get',
    data:data
  })
}

//生成优惠券
export const get_post_coupon = (data)=>{
  return request({
    url:`/get_post_coupon/`,
    method:'post',
    data:data
  })
}


